<!DOCTYPE html>
<html>
<head>
<script type="text/javascript" src="../js/jquery-3.2.1.js"></script>
<script type="text/javascript">
$(function(){
	$("#submit").click(function(){
		$.ajax({
			url:'updateById.do',
			data:$("form").serialize(),
			dataType:'text',
			success:function(data, textStatus){
				alert(data);
			}});
	});
});
</script>
</head>
<body>
<h2>HTML页面</h2>
<@sys code="basePath"/><br>
<@sys code="systemName"/><br>
<@sys code="author"/><br>

<@case>RequestMappingHandlerAdapter  <@sys code="systemName"/><br></@case><br>
<@case type='upper'>RequestMappingHandlerAdapter  <@sys code="systemName"/><br></@case><br>
<@case type='lower'>RequestMappingHandlerAdapter  <@sys code="systemName"/><br></@case>
 <br>
 <form action="updateById.do">
 	<input type="text" name="userId" value="${user.userId}"/>
 	<input type="text" name="userName" value="${user.userName}"/>
 	<input type="text" name="userPassword" value="${user.userPassword}"/>
 	<input type="text" name="userEmail" value="${user.userEmail}"/>
 	<input id='submit' type="button" value="修改"/>
 </form>
</body>
</html>
